import axios from 'axios'

axios.defaults.baseURL = 'http://172.10.10.164:8012'

// 用户登录
const requestLogin = params => { return axios.post('/manage/adminLogin', params).then(res => res.data) }
// 退出登录
const adminLogout = () => { return axios.post('/manage/adminLogout').then(res => res.data) }

export {
  requestLogin,
  adminLogout
}